package com.bw.network_sdk;

import io.reactivex.annotations.NonNull;
import io.reactivex.functions.Function;

//将BaseEntity子类类型转化为Entity类型
public class RxFunction<T extends BaseEntity>
        implements Function<T,BaseEntity> {
    @Override
    public BaseEntity apply(@NonNull T t) throws Exception {
        return t;
    }
}
